import request from '../utils/request';

export async function loginApi(data) {
  return request('/api/login', {
    method: 'POST',
    data: JSON.stringify(data),
  });
}
